package com.lone.smallmovie.dao;

import com.lone.smallmovie.model.SmsCode;
import org.apache.ibatis.annotations.Param;

public interface SmsCodeDao {

    int sendSmsCode(@Param("mobile_number") String mobileNumber,@Param("code") String smsCode);

    int updateSmsCodeStatus(@Param("mobile_number") String mobileNumber,@Param("code")String smsCode);

    SmsCode querySmsCodeByMobileNumber(@Param("mobile_number")String mobileNumber,@Param("code")String smsCode);


}